import { Component } from '@angular/core';
import {Routes} from '@angular/router';
import {route1} from './route1.componet';
import {route2} from './route2.componet';
import {route3} from './route3.componet';
import {roomComponent} from './room.componet';


 
 export const roomRoutes=[
     {
     path:'',
		component:roomComponent,
         children:[
            { path: '',redirectTo:'route1',pathMatch:'full'},
            {path:'route1',component:route1},
            {path:'route2',component:route2},
            {path:'route3',component:route3}
         ]
    }
 ]